package com.leyou.common.vo;

import com.leyou.common.enums.ExceptionEnums;
import lombok.Data;

/**
 * @Date 2018/12/9  17:40
 * @Author JIE
 */
@Data
public class ExceptionResult {

    private int status;

    private String message;

    private  Long timeStemp;

    public ExceptionResult(ExceptionEnums em) {
        this.status=em.getCode();
        this.message=em.getMsg();
        this.timeStemp=System.currentTimeMillis();
    }
}
